//
//  JKRFeedCommentLayout.h
//  JKRFeedDemo
//
//  Created by Lucky on 2017/12/9.
//  Copyright © 2017年 Lucky. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "JKRFeedCommentModel.h"

#define kHightLightTapUser @"kHightLightTapUser"
#define kHightLightTapFeedComment @"kHightLightTapFeedComment"

#define kFeedCommentHeaderImageWH 30 ///< 头像宽高

#define kFeedCommentTimeFontSize 12  ///< 评论时间字体大小
#define kFeedCommentTimeColor UIColorHex(A7ABB4) ///< 评论时间字体颜色

#define kFeedCommentNameFontSize 14     ///< 评论者昵称字体大小
#define kFeedCommentNameColor UIColorHex(4990E2) ///< 评论者昵称字体颜色

#define kFeedCommentContentFontSize 14  ///< 评论内容字体大小
#define kFeedCommentContentColor UIColorHex(4C4C51)  ///< 评论内容字体颜色

@interface JKRFeedCommentLayout : NSObject

@property (nonatomic, assign) CGFloat cellHeight;
@property (nonatomic, assign) CGRect topLineFrame;
@property (nonatomic, assign) CGRect headerImageViewFrame;
@property (nonatomic, assign) CGRect nameLabelFrame;
@property (nonatomic, strong) YYTextLayout *nameLabelLayout;
@property (nonatomic, assign) CGRect timeLabelFrame;
@property (nonatomic, strong) YYTextLayout *timeLabelLayout;
@property (nonatomic, assign) CGRect commentLabelFrame;
@property (nonatomic, strong) YYTextLayout *commentLabelLayout;
@property (nonatomic, strong) JKRFeedCommentModel *model;

- (instancetype)initWithCommentModel:(JKRFeedCommentModel *)model;

@end
